package com.qianfeng.dbsm.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qianfeng.dbsm.admin.entity.TbMember;
import com.qianfeng.dbsm.admin.vo.MemberMessageVo;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.List;

/**
 * 会员表(TbMember)表服务接口
 *
 * @author makejava
 * @since 2022-11-14 19:33:39
 */
public interface TbMemberService extends IService<TbMember> {


    TbMember login(String username, String password);


    /**
     * 根据用户ID查询返回上级用户id
     * @param id
     * @return
     */
    List<Integer> bossMembersById(Integer id);


    /**
     *
     * @param s
     * @return
     */
//    UserDetails loadUserByUsername(String s);


}

